package day2.set.demo4_comparator;

import java.util.Comparator;

public class Cm implements Comparator<Emp> {
    @Override
    public int compare(Emp o1, Emp o2) {
        return o1.age-o2.age;
    }
}
